<?php
/**
 * Created by PhpStorm.
 * User: w-pc
 * Date: 2017/03/06
 * Time: 16:55
 */
namespace Common\Model;
use Think\Model;

class PhotoModel extends Model{

    private $_db = '';

    public function __construct() {
        $this->_db = M('photo');
    }
    public function get_PhotoList(){
        $photo_list = $this->_db->where()->select();
        return $photo_list;
    }

}